james ritchie was voted into the job at the tasmanian university union with a clear majority over a female candidate more than three weeks ago .
mounting public pressure and an online petition forced him to resign .
no gender was specified in the union 's job description guidelines .
but the union has now introduced that the applicant must be a female .